package bar.dark.lee.manager.card;

import android.os.Parcel;
import android.os.Parcelable;

public class CheckCardData implements Parcelable{
	private String id;
	private String name;
	private String banklink;
	private String money;
	private String linkName;
	private String order;
	
	public CheckCardData(){};
	
	public CheckCardData(Parcel source)
	{
		this.id = source.readString();
		this.name = source.readString();
		this.banklink = source.readString();
		this.money = source.readString();
		this.linkName = source.readString();
		this.order = source.readString();
	}

	@Override
	public int describeContents()
	{
		return 0;
	}
	
	@Override
	public void writeToParcel(Parcel dest, int flags)
	{
		dest.writeString(this.getId());
		dest.writeString(this.getName());
		dest.writeString(this.getBanklink());
		dest.writeString(this.getMoney());
		dest.writeString(this.getLinkName());
		dest.writeString(this.getOrder());
	}
	
	public static Parcelable.Creator<CheckCardData> CREATOR = new Creator<CheckCardData>()
	{
		@Override
		public CheckCardData[] newArray(int size)
		{
			return new CheckCardData[size];
		}
		
		@Override
		public CheckCardData createFromParcel(Parcel source)
		{
			return new CheckCardData(source);
		}
	};
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getBanklink() {
		return banklink;
	}
	public void setBanklink(String banklink) {
		this.banklink = banklink;
	}
	public String getMoney() {
		return money;
	}
	public void setMoney(String money) {
		this.money = money;
	}
	public String getLinkName()
	{
		return linkName;
	}
	public void setLinkName(String linkName)
	{
		this.linkName = linkName;
	}

	public String getOrder()
	{
		return order;
	}

	public void setOrder(String order)
	{
		this.order = order;
	}
}
